page {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Segoe UI, Arial, Roboto, PingFang SC, Hiragino Sans GB, Microsoft Yahei, sans-serif
}

cover-image,
cover-view,
movable-area,
movable-view,
scroll-view,
view {
    // transition: width 2s;
    // -moz-transition: width 2s;
    // -webkit-transition: width 2s;
    // -o-transition: width 2s;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
}

scroll-view ::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
}

.container {
    min-height: 100vh;
    box-sizing: border-box;
    background: #fafafa;

    &-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    &-white {
        background: #fff;
    }
}

.p2-5 {
    padding: 10px 15px;
}

._small {
    display: inline;
    font-size: 65%;
    font-weight: normal;
}

.linear-blue {
    background: rgb(103, 153, 255) !important;
    background: -moz-linear-gradient(top,
            rgba(103, 153, 255, 1) 0%,
            rgba(137, 176, 255, 1) 100%) !important;
    background: -webkit-linear-gradient(top,
            rgba(103, 153, 255, 1) 0%,
            rgba(137, 176, 255, 1) 100%) !important;
    background: linear-gradient(to bottom,
            rgba(103, 153, 255, 1) 0%,
            rgba(137, 176, 255, 1) 100%) !important;
}

.flex-none {
    flex: none !important;
}

.van-icon {
    display: block !important;

    &__image {
        display: block !important;
        line-height: initial !important;
    }
}

.van-cell {
    &__left-icon {
        line-height: initial !important;
    }

    &__left-icon-wrap {
        height: auto !important;
    }

    &--small {
        font-size: 12px !important;
    }
}

.van-cell-group-radius {
    ._van-cell:first-child {
        .van-cell {
            border-radius: 5px 5px 0 0;
        }
    }

    ._van-cell:last-child {
        .van-cell {
            border-radius: 0 0 5px 5px;
        }
    }
}

.van-cell-group__header {
    .van-cell__title {
        font-weight: bold;
        font-size: 16px;
    }

    .van-cell__right-icon-wrap {
        margin: 0;
    }
}

.autofit-cell {
    .van-cell__value {
        flex: none;
        margin-left: 15px;
    }
}

.vant-tags ._van-tag+._van-tag {
    margin-left: 5px;
}

.category-cell {
    .van-cell__title {
        font-weight: 600;
    }

    .van-cell__right-icon-wrap {
        margin: 0;
    }
}

.van-button--mini:not(.van-button--plain) {
    border: none !important;
}

.van-button--normal {
    font-size: 16px !important;
}


.button-hover {
    opacity: .85
}

.btn-info {
    background-color: #1989fa;
    color: #fff;
}

.border-radius {
    border-radius: 5px;

    &-top {
        border-radius: 5px 5px 0 0;
    }

    &-bottom {
        border-radius: 0 0 5px 5px;
    }
}

input:focus {
    color: blue;
    font-family: UICTFontTextStyleBody;
}

.input-placeholder {
    color: #ff6600;
    font-family: UICTFontTextStyleBody;
}

.placeholder {
    color: #ff6600;
}

/**
 *.swiper-corner
 */
.page-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    z-index: 999;
    background-color: transparent;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;

    &-white {
        color: rgba(255, 255, 255, .8);
    }

    &-navbar {
        width: 100%;
        z-index: 1;
    }

    &-titlebar {
        display: flex;
        align-items: center;
        position: relative;
        padding: 0;

        &__title {
            flex: 1;
            font-size: 17px;
            line-height: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-left: 15px;
        }
    }

    &-button {
        width: 42px;
        height: 42px;
        display: flex;
        justify-content: center;
        align-items: center;

        &-back {
            font-size: 21px;

            .back-image {
                width: 25rpx;
                height: 25rpx;
            }
        }

        &-home {
            .home-image {
                width: 50rpx;
                height: 50rpx;
            }
        }

        &+.page-nav-titlebar__title {
            padding-left: 0;
        }
    }
}

/**
 *.swiper-corner
 */
.swiper-corner {
    overflow: hidden;
    margin: 15px 0;
    height: 100px;

    .swiper-item {
        height: 100%;
        padding: 0 5px;

        image {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 5px;
        }

        div {
            height: 100%;
        }
    }

    .wx-swiper-dots.wx-swiper-dots-horizontal {
        bottom: 6px;
    }

    .wx-swiper-dot {
        width: 5px;
        height: 5px;
    }

    .wx-swiper-dot-active {
        width: 15px;
        border-radius: 5px;
    }
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.75;
    }

    50% {
        opacity: 0.25;
    }

    75% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}